﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DomainModel;
using Utils;

namespace WebUI.Models
{
    public class EmailTemplateListViewModel: BaseViewModel
    {
        public List<EmailTemplate> EmailTemplateList { get; private set; }

        protected override void SetVars()
        {
            EmailTemplateList = SqlUtilities.Query<EmailTemplate>(ConstUtils.SP_GetEmailTemplateByID).ToList();
        }
    }
}